-- GENERATED SPELL FOR [Aged Clefthoof] --


function spell0_17133(pUnit, Event) --@Rushing Charge,n/a--
pUnit:FullCastSpellOnTarget(32021,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17133', 1274, 1)
end

function Sorts_17133(pUnit, Event)
local choix_sorts_17133 = math.random(0, 0)
if choix_sorts_17133 == 0 then
pUnit:RegisterEvent('spell0_17133', 1, 1)
end
end

function mob17133_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17133', math.random(1500, 3000), 1)
end

function mob17133_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17133_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17133_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17133, 1, 'mob17133_Action')
RegisterUnitEvent(17133, 2, 'mob17133_Leave')
RegisterUnitEvent(17133, 3, 'mob17133_Kill')
RegisterUnitEvent(17133, 4, 'mob17133_Die')
